package com.itheima.ydd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.ydd.entity.Advimg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdvimgMapper extends BaseMapper<Advimg> {
    @Select("select*from ydd_advimg where advimgpos=#{id}")
    List<Advimg> getByPos(String id);
}
